package com.didi.gulimall.order.service;

import com.baomidou.mybatisplus.extension.service.IService;
import com.didi.gulimall.common.to.OrderBackVo;
import com.didi.gulimall.common.utils.PageUtils;
import com.didi.gulimall.common.utils.R;
import com.didi.gulimall.order.entity.OrderEntity;
import com.didi.gulimall.order.vo.PayAsyncVo;

import java.util.List;
import java.util.Map;

/**
 * 订单
 *
 * @author didi
 * @email 1062664904@qq.com
 * @date 2021-01-14 15:52:18
 */
public interface OrderService extends IService<OrderEntity> {

    PageUtils queryPage(Map<String, Object> params);

    void orderBack(OrderBackVo orderBackVo) throws Exception;

    OrderEntity getIdByOrderSn(String orderSn);

    R memberOrderList();

    void paymentSuccessful(PayAsyncVo payAsyncVo);

    List<OrderEntity> getOrderVo(String totalOrderSn);

}

